package com.example.teatea.controller;

import javafx.scene.control.Label;

public class SingleController {
    public Label name;
    public Label price;
    public Label sum;

    public Label getName() {
        return name;
    }

    public void setName(String name) {
        this.name.setText(name);
    }

    public Label getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price.setText(String.valueOf(price));
    }

    public Label getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum.setText(String.valueOf(sum));
    }
}
